package top.infopub.mgr.bpa.service;


import java.math.BigDecimal;

import top.infopub.generic.GenericService;
import top.infopub.model.bpa.OutcaeSureDetail;


public interface OutcaeSureDetailService extends GenericService<OutcaeSureDetail, String> {

    /**
     * 根据分项名称和对外建安产值确权id查询开累对内确权总金额
     * @param subName 分项名称
     * @param refId 对外建安产值确权id
     * @return 
     * @see
     */
    BigDecimal selectAddupAmountBySubNameAndRefId(String subName, String refId, String typeName);

    /**
     * 根据分项名称和对外建安产值确权id查询开累对内确权总金额
     * @param subName 分项名称
     * @param refId 对外建安产值确权id
     * @return 
     * @see
     */
    BigDecimal selectAddupAmountBySubNameAfter(String subName, String refId, String typeName);

}